/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.emergency.domain;

import com.koron.emergency.bean.MaterialHiddenDanger;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "应急物资与检查记录的关系",description = "应急物资与检查记录的关系实体类")
public class MaterialCheckRelation {

    @ApiModelProperty(name = "materialCheckRecordId",value = "应急物资检查记录id",required = true)
    private String materialCheckRecordId;

    @ApiModelProperty(name = "materialId",value = "应急物资id",required = true)
    private String materialId;

    @ApiModelProperty(name = "normal",value = "设备检查结果是否正常,0异常，1正常")
    private Boolean normal;

    @ApiModelProperty(name = "hiddenDangerIds",value = "隐患ids")
    private String hiddenDangerIds;

    @ApiModelProperty(name = "hiddenDangerIds",value = "隐患id")
    private List<MaterialHiddenDanger> materialHiddenDangerList;

    public String getMaterialCheckRecordId() {
        return materialCheckRecordId;
    }

    public void setMaterialCheckRecordId(String materialCheckRecordId) {
        this.materialCheckRecordId = materialCheckRecordId;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public Boolean getNormal() {
        return normal;
    }

    public void setNormal(Boolean normal) {
        this.normal = normal;
    }

    public String getHiddenDangerIds() {
        return hiddenDangerIds;
    }

    public void setHiddenDangerIds(String hiddenDangerIds) {
        this.hiddenDangerIds = hiddenDangerIds;
    }

    public List<MaterialHiddenDanger> getMaterialHiddenDangerList() {
        return materialHiddenDangerList;
    }

    public void setMaterialHiddenDangerList(List<MaterialHiddenDanger> materialHiddenDangerList) {
        this.materialHiddenDangerList = materialHiddenDangerList;
    }

    @Override
    public String toString() {
        return "MaterialCheckRelation{" +
                "materialCheckRecordId='" + materialCheckRecordId + '\'' +
                ", materialId='" + materialId + '\'' +
                ", normal=" + normal +
                ", hiddenDangerIds='" + hiddenDangerIds + '\'' +
                ", materialHiddenDangerList=" + materialHiddenDangerList +
                '}';
    }
}
